package com.tedu.ds.dict.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class Dict {

    @ApiModelProperty(value = "字典id", example = "1")
    private Integer id;

    @ApiModelProperty(value = "字典名称", example = "性别", required = true)
    private String name;

    @ApiModelProperty(value = "字典编码", example = "GENDER", required = true)
    private String code;

    @ApiModelProperty(value = "备注信息", example = "用于记录性别的字典项")
    private String remark;

    @ApiModelProperty(value = "创建时间", example = "2023-10-24T20:00:00")
    private Date createTime;

    @ApiModelProperty(value = "更新时间", example = "2023-10-24T20:00:00")
    private Date updateTime;
}
